package com.iotek.ssm.mapper;

import com.iotek.ssm.pojo.Resume;
import com.iotek.ssm.pojo.User;

import java.util.List;

public interface UserMapper {
    User findUserByPhone(String phone) throws Exception;

    void addUser(User user) throws Exception;

    void updateUser(User user) throws Exception;

    Resume findResume(User user) throws Exception;

    void saveResume(Resume resume)throws Exception;

    void updateResume(Resume resume) throws Exception;

    List<Resume> findResumeList(Integer pId)throws Exception;
}
